home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / apps / astronmy / astrocal.arc / ASTROCAL.DOC < prev    next >
Encoding:
Text File  |  1985-11-20  |  19.4 KB  |  523 lines

  1. 0660103030566
  2. 9[....................................................]
  3.  
  4.  
  5. CadenzaAstroCal(Version1.8,October6,1988)
  6.  
  7.  
  8. ProgramFeatures
  9.  
  10. Thisprogramgenerates(foranygivenyear)acalendarcontaining
  11. thefollowinginformation:
  12.  
  13. 1.   Timesofsunrise,sunset,moonrise,andmoonsetforeachday
  14. 2.   TimesanddatesofMoonphases
  15. 3.   Timesanddatesofsolarandlunareclipses
  16. 4.   Timesanddatesofsolsticesandequinoxes
  17.  
  18. Inadditiontothiscalendar,theprogramcangenerate:
  19.  
  20. 1.   Areportofalllunarorsolareclipsesforarangeofyears
  21. 2.   Areportofplanetviewinginformationforaspecifiedyear
  22. 3.   Areportofperihelionsandaphelionsofplanetsfora
  23.      rangeofyears
  24. 4.   AreportofperigeesandapogeesoftheMoonforaspecified
  25.      year
  26. 5.   AreportofthedatesofEasterforarangeofyears
  27. 6.   AdiagramofthepositionsofJupiter'sbright(Galilean)
  28.      moons.
  29.  
  30. Thecalendarandreportsareallcustomizedfortheuser's
  31. location.Alltimesanddatesareinlocaltime.
  32.  
  33. Thecalendarandreportscanbeprintedonaprinterorlistedon
  34. thecomputerscreen.
  35.  
  36.  
  37. HardwareRequirements
  38.  
  39. ThisprogramshouldrunonanyAtariSTcomputerwithamonochrome
  40. orcolormonitor.Thisprogramrunsoncolormonitorsinmedium
  41. resolutiononly(pleaseseetheBugssectionbelow).Ofcourse,
  42. userswantingtoprintoutcalendarsandreportswillneeda
  43. printer.
  44.  
  45.  
  46. Menus
  47.  
  48. AstroCalhasthefollowingmenus:"Desk","DescribeLocation",
  49. "GenerateReport","File","Display",and"Help".
  50.  
  51. The"Desk"menucanbeusedtorundeskaccessoryprograms,andto
  52. seethe"introductionbox"ofthisprogram.
  53.  
  54. The"DescribeLocation"menuisusedtospecifyone'slocation(in
  55. latitudeandlongitude),andthedifferencebetweenlocaltimeand
  56. UT(universaltime(sometimescalledGMT(GreenwichMeanTime)).
  57.  
  58. The"GenerateReport"menuhaseightsubmenus:"Calendar","Lunar
  59. Eclipses","SolarEclipses","PlanetViewInfo","Planet
  60. Distance","MoonDistance","DatesofEaster",and"Jupiter
  61. Moons".
  62.  
  63. The"File"menuhasonlyonesubmenu,labeled"Quit".This
  64. submenuisselectedtoquittheentireprogram.
  65.  
  66. The"Display"menuhastwosubmenus,"Scroll"and"Stop".Ifyou
  67. selectthe"Stop"submenu,theprogramwillwaitforyoutotype
  68. theRETURNkeyaftereachpageoftextislistedonthedisplay
  69. screen.Ifyouwouldpreferthattheprogramcontinuouslywrite
  70. textonthedisplayscreenwithoutstopping,selectthe"Scroll"
  71. submenu.The"Display"menudoesnotaffecttheprintingof
  72. calendarsandreportsonaprinter.
  73.  
  74. The"Help"menuisusedtogetbasicinformationaboutthe
  75. program.
  76.  
  77.  
  78. GettingStarted
  79.  
  80. Firstofallyouwillneedtoprovidetheprogramwithsome
  81. informationaboutyourlocationandlocaltime.Thisinformation
  82. isrequiredtoallowtheprogramtocustomizeitsoutputforyour
  83. locationandtimezone.
  84.  
  85. Selectthe"DescribeLocation"menuwiththemouse.Thenselect
  86. the"DescribeLocation"submenu.Atthispointyoushouldseea
  87. "dialogbox"allowingyoutospecifyyourcity'sname,your
  88. latitudeandlongitude,andthedifferencebetweenyourlocaltime
  89. andUT.
  90.  
  91. Typethenameofyourcityinthespacelabeled"LocationName".
  92. Typeinyourlatitudeandlongitudeintheappropriatespaces.
  93. Notethatlatitudeandlongitudemustbeenteredasdecimal
  94. degrees.Toconvertanangleexpressedindegrees,minutes,and
  95. secondsformtodecimaldegrees,usethefollowingformula:
  96.  
  97. decimaldegrees=degrees+minutes/60+seconds/360
  98.  
  99. Forexample,ifyouknowthatyourlatitudeis32degrees,12
  100. minutes,and44seconds,youwillneedtotypeinalatitudeof
  101. 32.21since:
  102.  
  103. 32+12/60+44/3600=32.21(rounded)
  104.  
  105. Ifyoulivenorthoftheequator,selectthebuttonlabeled
  106. "North".Otherwiseselect"South".
  107.  
  108. Inthesameway,enteryourlongitudeindecimaldegrees,and
  109. selectthe"West"buttonifyoulivewestofGreenwich,England,
  110. or"East"otherwise.
  111.  
  112. Finally,enterthenumberofhoursthatyoumustaddtoUTto
  113. converttoyourlocaltime.IfyoumustsubtractfromUTtoget
  114. yourlocaltime,enteranegativenumber.Youmayentera
  115. fractionalnumber(e.g.4.5).
  116.  
  117. UsersintheUSAcanusethefollowingtable:
  118.  
  119. AtlanticTimeZone                 LocalTime=UT+-4hours
  120. EasternTimeZone                  LocalTime=UT+-5hours
  121. CentralTimeZone                  LocalTime=UT+-6hours
  122. MountainTimeZone                 LocalTime=UT+-7hours
  123. PacificTimeZone                  LocalTime=UT+-8hours
  124. MostofAlaska                     LocalTime=UT+-9hours
  125. HawaiiTimeZone                   LocalTime=UT+-10hours
  126.  
  127.  
  128. Oncethisinformationisentered,selectthebuttonlabeled
  129. "Done".Thisinformationwillbesavedinadiskfile(named
  130. astrocal.dat)andneednotbeenteredagain.
  131.  
  132. NotethatAstroCalgivesalltimesanddatesinlocalstandard
  133. time,neverinDaylightSavingsTimeorSummerTime.
  134.  
  135. Nowthatyou'vespecifiedyourlocation,youcangeneratean
  136. astronomicalcalendarorareport.
  137.  
  138. Noteaboutenteringyears:ifyouwantacalendarorreportfor
  139. theyear1988,enter1988,not88.Negativeyears(i.e.B.C.)can
  140. beentered.
  141.  
  142.  
  143. GeneratinganAstronomicalCalendar
  144.  
  145. Selectthe"GenerateReport"menu,andthenthe"Calendar"
  146. submenu.Atthispointyoushouldseeadialogboxallowingyou
  147. tospecifytheyearofthecalendar,thestartingmonthofthe
  148. calendar,andwhetherthecalendarshouldbeprintedonyour
  149. printeroronthecomputerscreen.Onceyou'vegiventhis
  150. information,pressthe"Done"button,andthecalendarwillbe
  151. generated.Ifyouchangeyourmind,pressthebuttonlabeled
  152. "Cancel",andthecalendarwillnotbegenerated.Preparingan
  153. astronomicalcalendarwilltakeaboutonehour.
  154.  
  155. Thecalendarwillcontainseveralabbreviationswhichare
  156. explainedintheAbbreviationssectionlaterinthisdocument.
  157.  
  158.  
  159. EquinoxesandSolsticesintheNorthernHemisphere
  160.  
  161. ThecelestialequatoristheplanedescribedbytheEarth's
  162. equator.TheeclipticistheapparentpathoftheSunacrossthe
  163. skyduringoneyear.
  164.  
  165.  
  166. Equinoxesoccurwhentheeclipticcrossesthroughthecelestial
  167. equator.AttheMarchEquinoxtheSunappearstocrossthe
  168. celestialequatoronitsjourneynorth.TheSeptemberEquinox
  169. happenswhentheSuncrossesthecelestialequatorgoingsouth.
  170.  
  171. Solsticesoccurwhentheeclipticismaximallynorthorsouthof
  172. thecelestialequator.AttheJuneSolsticetheSunisasfar
  173. northofthecelestialequatoraspossible.AttheDecember
  174. SolsticetheSunisasfarsouthaspossible.
  175.  
  176. SpringbeginsattheMarchEquinox,SummerattheJuneSolstice,
  177. FallattheSeptemberEquinox,andWinterattheDecember
  178. Solstice.
  179.  
  180. Forthesouthernhemisphere,switchnorthandsouth,summerand
  181. winter,andfallandspringinthepreviousthreeparagraphs.
  182.  
  183.  
  184. GeneratinganEclipseReport
  185.  
  186. Selectthe"GenerateReport"menuwiththemouse,andthenselect
  187. the"LunarEclipses"or"SolarEclipses"submenu.Atthispoint
  188. youshouldseeadialogboxpromptingyoufortherangeofyears
  189. ofthereport,andwhetherthereportshouldbeprintedonyour
  190. printerorlistedonyourdisplayscreen.Press"Done"when
  191. you'veenteredalloftheinformation,orpress"Cancel"toquit.
  192.  
  193.  
  194. InterpretingaLunarEclipseReport
  195.  
  196. Duringalunareclipse,allobserversthatcanseethemoonwill
  197. seethesamepart(i.e.moonentersshadow,maximumeclipse,moon
  198. leavesshadow)oftheeclipseatthesameinstant.Thusforeach
  199. eclipseintheeclipsereport,youwillbeabletoviewagiven
  200. partofthateclipseifitoccursbetweenthetimeofmoonriseand
  201. moonsetonthedayoftheeclipse.
  202.  
  203.  
  204. InterpretingaSolarEclipseReport
  205.  
  206. Thisprogramdoesnotcomputethelocalcircumstancesofsolar
  207. eclipses.Consequently,youwillnotbeabletodeterminewhether
  208. asolareclipsepredictedbyAstroCalwillbevisibleinyour
  209. area.
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220. GeneratingaPlanetViewingInformationReport
  221.  
  222. Selectthe"GenerateReport"menuwiththemouse,thenselectthe
  223. "PlanetViewInfo"submenu.Atthispointyouwillbeprompted
  224. forthemonthandyearatwhichthereportwillbegin,andwhether
  225. youwantthereportprintedonyourprinteroronyourdisplay
  226. screen.Press"Done"whenyou'veenteredalloftheinformation,
  227. orpress"Cancel"toquit.
  228. 
  229.  
  230. InterpretingaPlanetViewingInformationReport
  231.  
  232. Thisreportwillhelponedeterminewhetherornotagivenplanet
  233. willbevisibleonagivenday,anditslocation.Planet
  234. locationsaregiveninrightascension(expressedindecimal
  235. hours)anddeclination(decimaldegrees).
  236.  
  237. Theelongationofplanetsisgivenindecimaldegrees.Consider
  238. tworaysoriginatingatthecenteroftheEarth,withonegoingto
  239. thecenteroftheSun,andtheothergoingtothecenterofa
  240. planet.Thatplanet'selongationistheanglebetweentheserays.
  241. Ifaplanet'selongationisnear0(or360)degrees,itwilltend
  242. nottobevisiblefromtheEarth.
  243.  
  244. Toanearthboundobserverplanets,liketheMoon,havephases.
  245. Thisreportspecifiestheilluminatedfractionofaplanet'sdisk.
  246. Thisisanumberbetween0(foraplanetthatisnotvisible(like
  247. thenewMoon))and1(foraplanetwhosediskisentirelyvisible
  248. (likethefullMoon)).
  249.  
  250. Thisreportalsogivesthedistancebetweenthecenterofthe
  251. Earthandaplanet,expressedinastronomicalunits.One
  252. astronomicalunitisequaltotheaveragedistancebetweenthe
  253. Earth'sandSun'scenters(149,598,770km).
  254.  
  255.  
  256. GeneratingaPlanetDistanceReport
  257.  
  258. AplanetachievesperihelionwhenitcomesclosesttotheSun.
  259. Aphelionoccurswhenaplanetisatitsgreatestdistancefromthe
  260. Sun.Togenerateareportspecifyingthedatesofperihelionand
  261. aphelionforplanets,selectthe"GenerateReport"menu,andthen
  262. selectthe"PlanetDistance"submenu.Youwillbepromptedfor
  263. therangeofyearsofthereport,andwhetherthereportshouldbe
  264. printedonyourprinterorlistedonyourdisplayscreen.When
  265. you'veenteredthisdata,press"Done"togeneratethereport,or
  266. "Cancel"toquit.
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274. GeneratingaMoonDistanceReport
  275.  
  276. PerigeeoccurswhentheMoonisclosesttotheEarthinitsorbit,
  277. andapogeewhenitismostdistant.AtperigeetheMoon's
  278. influenceontidesisgreatest.Toproduceareportofthedates
  279. ofperigeeandapogee,selectthe"GenerateReport"menuandthe
  280. "MoonDistance"submenu.Thenentertheyearofinterest,andthe
  281. startingmonth.Decideifthereportshouldbelistedonyour
  282. displayscreenorprintedonyourprinter,orselectthe"CANCEL"
  283. buttontoquit.Itwilltakeabouthalfanhourtocompletethis
  284. report.
  285.  
  286. Inthereport,thedistancesgivenarebetweenthecentersofthe
  287. EarthandMoon.ThediameteroftheMoonisdefinedasfollows:
  288. imaginetwolines:onelineextendsfromtheEarth'scenterto
  289. therightmostpartoftheMoon'ssurface.Theotherlinegoes
  290. fromthecenteroftheEarthtotheleftmostpartoftheMoon's
  291. surface.Theanglebetweenthesetwolinesisthediameterofthe
  292. Moon.Thediameterofabodyisalsocalledthebody'sangular
  293. sizeorangulardiameter.
  294.  
  295.  
  296. GeneratingaDatesofEasterReport
  297.  
  298. Easterisdefinedas(usually)thefirstSundayafterthe
  299. fourteenthdayafterthefirstnewMoonafterMarch21.To
  300. produceareportofthedatesofEasterforagivenrangeof
  301. years,selectthe"GenerateReport"menuandthe"DatesofEaster"
  302. submenu.Thenenterarangeofyears,anddecideifthereport
  303. shouldbeprintedonyourprinterorlistedonyourcomputer
  304. screen.Finally,press"Done"togeneratethereport,or"Cancel"
  305. toquit.
  306.  
  307.  
  308. GeneratingaJupiterMoonsReport
  309.  
  310. Jupiterhas17ormoremoons.Fourofthese(theGalileanor
  311. brightmoons)canbeseenwithbinoculars.
  312.  
  313. ThisfeatureallowsuserstogeneratediagramsofJupiterandits
  314. Galileanmoons.
  315.  
  316. Selectthe"GenerateReport"menuandthe"JupiterMoons"submenu.
  317. Entertheyear,month,day,andtime(inlocaltime,24-hour
  318. format).Thenpress"Done"togeneratethereport,or"Cancel"to
  319. quit.
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328. InterpretingaJupiterMoonsReport
  329.  
  330. Thelargestcircleinthecenterofthediagramrepresents
  331. Jupiter,andthesmallernumberedcirclesrepresentthemoons:
  332.  
  333. 1:Io
  334. 2:Europa
  335. 3:Ganymede
  336. 4:Callisto
  337.  
  338. ThediagramrepresentstheviewofJupiteranditsmoonsonthe
  339. specifiedinstant,withthefollowingcaveats:
  340.  
  341. 1.   ThediagramrepresentstheviewofJupiteranditsmoonsas
  342.      seenthroughaninvertingtelescopeinthenorthern
  343.      hemisphere.IfyouareviewingJupiterthroughbinoculars,
  344.      yourviewwillappeartobereversedleft-to-right.
  345.  
  346. 2.   Inthediagram,Jupiter'sequatoriseven withthex
  347.      axis-whenviewedfromatelescopeorbinoculars,
  348.      Jupiter'sequator(andthemoons)willtendnottobe
  349.      even withthe observer'shorizon.
  350.  
  351. 3.   Thediagramdoesnotspecifyifamoonisinfrontofor
  352.      behindtheplanet,soifamoonappearsinfrontofJupiter
  353.      inthediagram,itmayinrealitybebehindtheplanet.
  354.  
  355.  
  356. QuittingEarly
  357.  
  358. Ifyouwanttoquitinthemiddleofpreparingacalendaror
  359. report,presstheUndokey.Inamoment(butnotimmediately)
  360. you'llbegiventheopportunitytoquitwhateveryou'redoingand
  361. goontosomethingelse(orquittheprogramentirely).
  362.  
  363.  
  364. QuittingtheProgram
  365.  
  366. Whenyouwanttoquittheentireprogram,selectthe"File"menu
  367. andthe"Quit"submenuwiththemousebutton.Ifyou'vechanged
  368. yourlocationinformation,youwillbeaskedifyouwanttosave
  369. thechanges.Ifyouanswerno,yourchangeswillbediscarded.
  370. Ifyouansweryes,thechangeswillbesavedinadiskfile(named
  371. astrocal.dat)andwillbeavailablethenexttimeyourunthe
  372. program.
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382. Abbreviations
  383.  
  384. SR:   Sun Rise            SS:   Sun Set
  385. MR:   Moon Rise           MS:   Moon Set
  386. FM:   Full Moon           NM:   New Moon
  387. FQ:   First Quarter       LQ:   Last Quarter
  388. MEQ:  March Equinox       JSO:  June Solstice
  389. SEQ:  September Equinox   DSO:  December Solstice
  390. UT:   Universal Time      AU:   Astronomical Unit
  391. RA:   Right Ascension     DEC:  Declination
  392. DEGS: Decimal Degrees     HRS:  Decimal Hours
  393. ELO:  Elongation          ILL:  Illuminated Fraction of Planet's Disk
  394. DIST: Distance from Earth
  395.  
  396.  
  397. NoteAboutAccuracy
  398.  
  399. Theresultsofthisprogramarenotexactforthreereasons:
  400.  
  401. 1.   Allcomputerfloatingpointarithmeticisapproximate.
  402.  
  403. 2.   Simplifyingassumptionsintheastronomicalcalculations
  404.      resultinalossofaccuracy.
  405.  
  406. 3.   Someoftheastronomicalcalculationsareoptimizedforthe
  407.      presentday,andarenotasaccuratefordatesfarintothe
  408.      pastorfuture.
  409.  
  410. Atanyrate,valuescomputedbyAstroCalforyearsinthelast
  411. quarterofthetwentiethcenturyareusuallyaccuratetowithina
  412. fewminutes,withthefollowingexceptions:
  413.  
  414. 1.   Calculationofplanetperihelionandaphelion:datesforthe
  415.      Earthmaybeoffby morethanoneday,datesforJupiter
  416.      maybeuptohalfa monthinerror,anddatesforSaturnmay
  417.      beoffbymorethan onemonth.
  418.  
  419. 2.   CalculationofMoonperigeeandapogee:thetimeofperigee
  420.      orapogeemaymissthemarkbyanhour.
  421.  
  422.  
  423. BugsandLimitations
  424.  
  425. Thisprogramdoesnotpredictpenumbrallunareclipses,only
  426. umbrallunareclipses(mostofthepenumbraisnotdarkenoughto
  427. haveanoticeableeffectontheMoon'sbrightness).
  428.  
  429. Umbrallunareclipseshavingaverysmallmagnitudemaybemissed.
  430. Forexample,AstroCaldoesnotpredictthelunareclipseofMarch
  431. 3,1988,whichhadamagnitudeofonly0.003.
  432.  
  433.  
  434.  
  435.  
  436. SincethisprogramwasdevelopedonamonochromeAtariST,there
  437. maybesomeproblemsrunningtheprogramonacolorsystem.
  438.  
  439. Ifyoufindanybugs,pleasereportthemtotheauthor(the
  440. addressisbelow).Thisprogramisundercontinuousrefinement,
  441. andyourbugreportsandsuggestionswillcontributetoits
  442. improvement.
  443.  
  444.  
  445. FurtherReading
  446.  
  447. Mathematicalastronomyisgreatfun,andprobablyeasierthanyou
  448. think.Thetwobooksthathelpedmethemostinwritingthe
  449. programare:
  450.  
  451. 1.   AstronomicalFormulaeforCalculatorsbyJeanMeeus(third
  452.      edition),publishedbyWillmann-Bell.
  453.  
  454. Meeus'bookisoutstanding.Althoughthemethodscouldbe
  455. performedonacalculator,theyarecertainlyviableforuseina
  456. computerprogram.MostofthemethodsusedinAstroCalaredrawn
  457. fromthisbook.
  458.  
  459. 2.   "PracticalAstronomywithyourCalculator"(secondedition)
  460.      byPeterDuffett-Smith,publishedbyCambridgeUniversity
  461.      Press.
  462.  
  463. ThemethodsinDuffett-Smith'sbooktendtobelessprecisethan
  464. thecorrespondingonesinMeeus'book.However,thisbookisvery
  465. usefulasareference.SomeofthemethodsusedinAstroCalare
  466. drawnfromthisbook(chieflycoordinatetransformations).
  467.  
  468. Duffett-Smithhasalsowritten"AstronomywithyourPersonal
  469. Computer".Thisbookisforsomeonewhosimplywantstotypeina
  470. pre-writtenprogramtodoastronomicalcalculations.Thereare
  471. manyBASICprogramsinthisbook,butlessbackgroundinformation
  472. thanin"PracticalAstronomywithyourCalculator".
  473.  
  474. Thefollowingbookcontainsawealthofinformationaboutmany
  475. differentastronomicalphenomenaoveralongspanofyears.Itis
  476. extremelyusefulforverifyingtheaccuracyofaprogram:
  477.  
  478. "AstronomicalTablesoftheSun,Moon,andPlanets",byJean
  479. Meeus,publishedbyWillmann-Bell.
  480.  
  481. DonaldMenzelandJayM.Pasachoff's"StarsandPlanets"isa
  482. colorfulandfunbook.Itisveryusefulforthosewhowantto
  483. findandobservevariousstarsandplanets.
  484.  
  485. KimLong's"TheMoonBook"(publishedbyJohnsonBooks)isan
  486. interestingandfunbookpackedwithinformation,diagrams,and
  487. folkloreabouttheMoon.
  488.  
  489.  
  490. Mostalmanacscontainmuchastronomicaldata.
  491.  
  492.  
  493. DistributionofthisProgram
  494.  
  495. SinceCadenzaAstroCalispublicdomain,usersmayfreely
  496. distributecopiesoftheprogramtootherusers,usergroups,
  497. electronicbulletinboards,etc.
  498.  
  499.  
  500. Payment
  501.  
  502. Ifyoulikethisprogram,pleasesend$5.00UStothefollowing
  503. address:
  504.  
  505. EricBergman-Terrell
  506. CadenzaSoftware,Ltd.
  507. 1450West116thAvenue,#21
  508. Westminster,CO80234
  509. U.S.A.
  510.  
  511. For$10.00+$2.00postageyoumayorderadiskcontainingthe
  512. completesourcecodeforthisprogram,writteninOSSPersonal
  513. Pascalversion2.0.
  514.  
  515. Youmaywritetothesameaddresstoreportbugs,request
  516. additionalinformation,suggestimprovementsintheprogram,etc.
  517. Ifyouwantareply,pleaseincludereturnpostage(2IRCsfor
  518. thoseoutsidetheU.S.A.).
  519.  
  520.  
  521. Enjoytheprogram!
  522.  
  523.